/**
 * 
 */
package com.es.disped.dao.model;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author Anson<br>
 *
 * Copyright by EasyShare 2019<br> 
 *
 * All right reserved<br>
 *
 * Created on 下午3:29:54<br>
 *
 * 名称：RolePermission.java<br>
 *
 * 描述：登录用户角色权限<br>
 */
@ApiModel(value="登录用户角色权限对象")
public class RolePermission implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8642560498139526805L;
	
	/**
	 * 角色ID
	 */
	@ApiModelProperty(value="角色ID")
	private String roleId;
	/**
	 * 角色名称
	 */
	@ApiModelProperty(value="角色代码")
	private String roleCode;
	/**
	 * 权限名称
	 */
	@ApiModelProperty(value="权限代码")
	private String permissionCode;

	/**
	 * @return the roleId
	 */
	public String getRoleId() {
		return roleId;
	}

	/**
	 * @param roleId the roleId to set
	 */
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	/**
	 * @return the roleCode
	 */
	public String getRoleCode() {
		return roleCode;
	}

	/**
	 * @param roleCode the roleCode to set
	 */
	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	/**
	 * @return the permissionCode
	 */
	public String getPermissionCode() {
		return permissionCode;
	}

	/**
	 * @param permissionCode the permissionCode to set
	 */
	public void setPermissionCode(String permissionCode) {
		this.permissionCode = permissionCode;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "RolePermission [roleId=" + roleId + ", roleCode=" + roleCode + ", permissionCode=" + permissionCode
				+ "]";
	}
}
